using SqlSugar;

namespace Admin.NET.Application;

public class AliPayInput
{
	public long? Id { get; set; }

	/// <summary>
	/// 支付宝服务商第三方模板AppId（支付宝服务商所用）
	/// </summary>
	public string? AppId { get; set; }

	/// <summary>
	/// RSA 支付宝公钥
	/// </summary>
	/// <remarks>
	/// “公钥证书”方式时, 留空
	/// “普通公钥”方式时, 必填
	/// </remarks>
	[SugarColumn(ColumnDataType = "text")]
	public string? AlipayPublicKey { get; set; }

	/// <summary>
	/// RSA 应用私钥
	/// </summary>
	[SugarColumn(ColumnDataType = "text")]
	public string? AppPrivateKey { get; set; }

	/// <summary>
	/// 加密秘钥
	/// </summary>
	[SugarColumn(ColumnDataType = "text")]
	public string? EncryptKey { get; set; }

	/// <summary>
	/// 备注
	/// </summary>
	[SugarColumn(ColumnDataType = "text")]
	public string? Remark { get; set; }

	/// <summary>
	/// 回调接口
	/// </summary>
	[SugarColumn(ColumnDataType = "text")]
	public string? AliPayPayUrl { get; set; }
}
